package com.naiterui.ehp.bs.cms.modules.devops.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import com.naiterui.ehp.bp.support.config.FeignConfiguration;
import com.naiterui.ehp.bp.support.exception.BusinessException;

/**
 * @author luao
 * @date 2022/4/27 4:12 PM
 **/
@RequestMapping("inner")
@FeignClient(name = "esign", url = "${ehp.domain.esign}", configuration = FeignConfiguration.class)
public interface ESignFeign {

    @GetMapping("self/inspect/esign")
    void esign() throws BusinessException;

    @GetMapping("self/inspect/scca")
    String scca() throws BusinessException;
}
